package com.yike.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 店铺文件表
 *
 * @author Sakura
 * @since 2025-03-10
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "店铺文件信息")
public class ShopFileVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("文件类型：1协议文件 2营业执照 3法人银行卡正面 4法人银行卡背面")
    private Integer types;

    @ApiModelProperty("文件名")
    private String name;

    @ApiModelProperty("文件链接")
    private String url;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
